package com.youzan.cloud.component.biz.member.linker.restlinker;
import com.youzan.cloud.component.biz.member.dto.linker.out.MemberUpdateLinkerResult;
import com.youzan.cloud.connect.service.common.domain.BizServiceInfo;
import com.youzan.cloud.connect.service.sdk.ConnectServiceResponse;
import com.youzan.cloud.connect.service.sdk.DirectRestLinker;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpUriRequest;
import java.io.IOException;

/**
 * @author tangsen233
 * @version 1.0
 * @description: 会员修改信息linker
 * @date 2021/8/9 20:53
 */
public abstract class MemberUpdateRestLinker<T> implements DirectRestLinker<T, MemberUpdateLinkerResult> {

    @Override
    public abstract HttpUriRequest buildHttpUriRequest(T t) ;

    @Override
    public abstract BizServiceInfo getBizServiceInfo() ;
    @Override
    public abstract ConnectServiceResponse<MemberUpdateLinkerResult> handleResponse(HttpResponse httpResponse) throws IOException;
}